#!/bin/sh
while true
do
	ps -ef | grep index | grep -v "grep"
if [ "$?" -eq 1 ]
then
	echo `date "+%Y-%m-%d %H:%M:%S"`
	nohup php /data/wwwroot/admin/cron.php /Home/Linux/index &
fi
	ps -ef | grep nobody | grep -v "grep"
if [ "$?" -eq 1 ]
then
	echo `date "+%Y-%m-%d %H:%M:%S"`
	nohup php /data/wwwroot/admin/cron.php /Home/Linux/nobody &
fi
	ps -ef | grep outtime | grep -v "grep"
if [ "$?" -eq 1 ]
then
	echo `date "+%Y-%m-%d %H:%M:%S"`
	nohup php /data/wwwroot/admin/cron.php /Home/Linux/outtime &
fi
	ps -ef | grep signorder | grep -v "grep"
if [ "$?" -eq 1 ]
then
	echo `date "+%Y-%m-%d %H:%M:%S"`
	nohup php /data/wwwroot/admin/cron.php /Home/Linux/signorder &
fi
	sleep 5
done